package com.xwj.back.service.user;

import com.alibaba.fastjson2.JSONObject;
import com.xwj.back.pojo.User;

import java.util.List;
import java.util.Map;

public interface UserService {
    JSONObject getAllUser(String role,Integer page);
    List<User> getUsers();
    Map<String,String> updateUserStatus(Map<String,String> data);
    Map<String,String> addUser(Map<String,String> data);
    Map<String,String> updateUser(Map<String,String> data);
    Map<String,String> deleteUser(Map<String,String> data);
    JSONObject getUsersByRole(String role,String operateRole);
    JSONObject getUsersByName(String role,String username);
    String bulkDelete(Map<String,String> data);
}
